import request from '@/utils/request'

export function getAuthTreeList(data) {
  return request({
    url: '/publicFileShare/getAuthTreeList',
    method: 'get',
    params: data
  })
}

export function saveAuthorit(data) {
  return request({
    url: '/publicFileShare/saveAuthorit',
    method: 'post',
    data
  })
}
